Deal with login failed.