Refactor IPController to use new view model.

Update IPController contract to use IdentityProviderViewModel instead of
IdentityProvider.