Spring + Hibernate + Derby + Spring Security - REST API