Spring MVC web app with Spring Security and MongoDB