Fix redirection forbidden when downloading cookbooks.