MDL-40045 auth: replaced add_to_log call when user logs in with an event
MDL-40045 users: replaced add_to_log call when a user profile is viewed with an event
MDL-40045 user: replaced add_to_log call when the user list is viewed with an event
MDL-40045 login: replaced add_to_log call when a user updates their password with an event