Registering required RPs from template metadata (1588437, 2002449)

Shouldn't update the subscription until after the provider's been registered. What it something fails in the registration?