Added Basic Auth support