fixes to client provisioning

we were calling t.end() before all of the clients could start
also pouchdb doesn't return session_id like liteservs