remote-curl: retry failed requests for auth even with gzip