Clean up the code to load the metadata for OpenID Connect identity providers.