Fix authentication issues when linking directly to downloads