Running tests in on-prem: fixing securityextension tests