API Proxy providing authentication, access control using CouchDB as a data store