Fix err message in login.