update securitymanager handling to support local testing