SEC-2773: 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(…).
SEC-2773: Add Test for static delegatingApplicationListener