Fixed access to database on iriscouch