Andy has reported that if you launch the gui, without loggin in, then run a plan - it fails.
If you then login, then try to run plan it still returns a NotAuthorisedError
Therefore the login is being stored in memory and not updated.
Force the user to login first