MDL-40045 users: replaced user viewed add_to_log call with an event
MDL-40045 login: replaced change password add_to_log call with an event