Added support for basic http authentication.

Helpful for passworded hudson/jenkins instances.