Corrects the urls in 'config.action_dispatch.default_headers'