Fix crash when logging in with invalid login/password.