provider.Config: Move UI-specific stuff to Config.

This should make it easier to create a mock of the REST web service.