Registering required RPs from template metadata (1588437)

the hard-coded values must be covered with the change you are adding. If they are not then there's a problem with the added logic because this change can deduce the provider name from the REST API call instead of relying on the hard-coded list