fix "login failed: unknow reason"