Spring Security and Hibernate integration + simple example using credentials stored in database