CON-751: Refactor ApiAccessService::getEnvValue to fix unit tests