Fix authentication to work with CouchDB 0.11.x.
Fix authentication to work with CouchDB 0.11.x.

CouchDB doesn't send a www-authenticate header any more so all we can do is
assume it's basic auth and retry the request.

ssaavedra/couchdb-python,hdmessaging/couchbase-mapping-python,oliora/couchdb-python