#22848126557897: Simplification of the configuration for Spring Security Mongo