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