Add support for password hash versioning