Hey @Motty09 I get this error also, but I'm trying to use the region 2 code. I think it might be something to do with the node-red companion rather than the proper node-red integration in HA OS.
I've tried hard coding the login variables in node-red but it doesn't move any further past it.