Fixing the compilation failures of this test

I'm not sure it actually tests anything valuable, and might end up being
thrown away when we remove all the servlet context helper stuff
Missed a couple things with the coreSpringProvider

Updated the test to use the changed settings, and set up the core spring
context.
Optimized some imports