LPS-46751 Use the provided password to compare with the hash