Fix user login error.