Fixed bug which meant that you could navigate to the account settings state when you weren't logged in.