CouchDB working with cookie auth and https proxy.