Add support for Basic authentication