change the way chained map is added to the context
simple spring security dependency added breaking everything obviously