Added support for HTTP Basic access to the API. (#3920)
A user can authenticate using either their:
* username/password * api-key/random
Authored by: edavis10 2009-12-23
Parent: [r3218]
Child: [r3220]