Several tweaks and fixes related to the Hibernate configuration.
First try to implement Spring Security.