add password_hash compatibility