Allow to reinitialize the providers

Change-Id: I6ad4e1d7a30af8360a4b90f4a4ecaca809fd186b
Reviewed-on: http://review.couchbase.org/35248
Reviewed-by: Brett Lawson <brett19@gmail.com>
Tested-by: Mark Nunberg <mnunberg@haskalah.org>