Add withCredentials to couchdb.put method