Reinject security context in UserContextListener and check if security token exists before configuring services