Setting $_configuration['save_user_last_login'] option.

This setting allows the platform to save the latest user login in the
user.last_login field see BT#7297 and #7042.