Add hash_pass helper for basic hash-based authentication