Added basic HTTP authentication support to the CouchDB sink.