Testing encrypting a password with a hash and salt value