new configuration with spring security and locales to test