Fixed #23295 -- Removed unnecessary fix_location_header requset.get_host() check

https://code.djangoproject.com/ticket/23295
You also needs to "unmock" this method in a try/finally block. Maybe we can first decide on a resolution about using mock (#23289) so we don't have to add more of this cruft though.