LoginError will be raised if something wrong with login.