Fixed check to see if the provider should load the web or app config as this was breaking the ASP.NET Web Admin tool in .NET 4.0+