Fixed a bug that could cause users with identical passwords to be unable to log in.