check security.members as well

security.readers is called security.members in new couch versions.
take that into account.

http://docs.couchdb.org/en/latest/api/database/security.html#api-db-security