prevent session from re-logging out with CouchDB