Fix tests when running from projects that change CORS_URLS_REGEX

I would have re-used Django's `override_settings` but because of the way that the defaults are setup in corsheaders.defaults that wouldn't work.