Added support for basic HTTP Auth