Adding authentication provider results in "Unknown provider."

I think this plugin method maybe not work because of offical ‘users-permissions’ plugin will overwrite your custom version.