Add auth in location when it uses proxies