Set up Spring Security.