Added Spring Security configuration.