Fix user login case.