Change password hash function to crypt()