Added Basic HTTP authentication as an option for using the API