OGM-415 Making CouchDB dialect work with databases requiring authentication