Authenticating database with Spring Security and JSF