Added support for HTTP Basic authentication.
Merge pull request #4 from wuher/auth

Added support for HTTP Basic authentication.