Added HTTP Basic authentication and Example.