Use ConfigurationManager.AppSettings

When using `ConfigurationManager.GetSection("AppSettings") as NameValueCollection`, the result is always null. Using `ConfigurationManager.AppSettings` instead fixes this.