Fix authenticated artifact fetching.