fixed couchdb client config so tests can run. WIP medic/medic-webapp#714