Start Spring security configuration.
Define custom classes for pre-authentication and provide empty classes.