Use common test method to assert documents with encrypted content.
Use mkdir_p from leap.common.
Protect property in couch server state.
Encapsulate token-based auth in a class.