Updated ConfigureProviderManager to support lastest smack development