Fix tests when running from projects that change CORS_URLS_REGEX