Authentication Success and Failure Events; Security Events . hash the password the user has just provided (e.g. using a login form) with the salt and compareĀ .