Added basic HTTP authentication support