Updated config to take a redirect URI provider.

Allows a site with multiple domains to specify a URI for each session. All 151 tests pass.