Added helper methods for HTTP Authentication