fix for guice injected AgentCapableSecurityContext