Fixed unnecessary alert on login.