Have basic account authentication working with the fix for the back button during login done.
Fixed problems with login.