fix an issue with OAuth config in CouchDB
fix an issue with OAuth config in CouchDB

An odd race condition occurs if you create OAuth users, but never validate against CouchDB, it never adds the _design/oauth ddoc.

Modified so it creates a dummy oath user, then makes an OAuth _session request to force the ddoc to get installed.

Signed-off-by: Jim Klo <9e95f34b3fa887d597a67c66f27cf641fe2c2a41@sri.com>

jimklo/LearningRegistry,jimklo/LearningRegistry,jimklo/LearningRegistry,jimklo/LearningRegistry,LearningRegistry/LearningRegistry,LearningRegistry/LearningRegistry,jimklo/LearningRegistry,LearningRegistry/LearningRegistry,LearningRegistry/LearningRegistry,LearningRegistry/LearningRegistry,jimklo/LearningRegistry,LearningRegistry/LearningRegistry,jimklo/LearningRegistry,LearningRegistry/LearningRegistry,jimklo/LearningRegistry,jimklo/LearningRegistry