Bug 1009017: users are unable to log in if their password needs to be re-encrypted and their password does not match the current complexity rule