I managed to work around the issue by uninstalling the add-on. Steps I took
- Export all node-red flows within Node-red into a text file
- Copy the add-on settings from the node-red add-on page in home-assistant into a text file
- Stop Node-red add-on
- Reboot the raspberry pi (probably not needed)
- Delete the /config/node-red folder when you ssh into Hassio
- Reinstall the add-on
- Before starting the add-on copy back the settings from step 2.
8 Start the add-on - check the log to see everything loaded ok
- Access node-red through the browser
- Import the flows exported in Step 1.
- Under Menu->Configuration nodes you will likely have two Home-Assistant entries. Double click the one that has (0) items (this is the new one that has the correct credentials)
- Copy the API Pass
- Now double click the other Home-Assistant entry and paste in the API pass from the previous step
- You can delete the new configuration node with zero items by opening it as per step 12 and clicking delete.
- Clock deploy and hopefully rejoice.