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.
zielmicha/couchdb-python,ajmirsky/couchdb-python