Bug fix with password hashes