The whatcouch project provides plugins for use with repoze.who and repoze.what allowing them to authenticate and authorize against CouchDB. An example model is included as well as quickstart functionality.
Example whatcouch code is located in the whatcouch-examples repo.