Credentials not being added to http url

Causing tests to fail when CouchDB is not in admin party mode.