Bugfix in setting user.last_login