Monkey-patch Django to pass origins to tokens even when TEMPLATE_DEBUG is set to False.