Allow explicit configuration of http auth key

- Fix basic auth case in which authorized_keys is configured as hash
- Duplicate existing functionality when http_auth_key is not explicitly
  set
Merge pull request #2315 from neo/http_auth_key

Allow explicit configuration of http auth key