WFLY-2354 : Fixing regression by testing that the Singleton is properly configured for security before adding the interceptor.