Fix that there's no feedback when login failed

修复当登录失败时，没有给出适当的提示信息