Moving to spring framework 4.1.0 and spring security 4.0.0.M2