Fix user login at 2nd attempt