Fixed #23531 -- Added CommonMiddleware.response_redirect_class.

https://code.djangoproject.com/ticket/23531