Use couchdb from PATH in database integration tests.
Fix failures during attempt to access non listening port with http connection pool.