Fixed an issue with not all valid passwords being accepted.