Prevent premature container initialization in WebSecurityConfiguration.

Changed the bean definition method for the DelegatingApplicationListener
to be static to avoid the need to instantiate the configuration class which
caused further premature initializations to satisfy the dependencies 
expressed in setFilterChainProxySecurityConfigurer(…).

Issue: SEC-2773.