Add couch permission check.
Add pycrypto as test requirement.