Properly follow redirects when retrieving artifacts (issue 6)