Fix login with "remember me" enabled.