Registering required RPs from template metadata (1588437)

It is not that easy to remove. I've added registration of the providers from the template during the new deployment, but this hard-coded values are used for already deployed resources. We'll brake all current users in that case.