46,47c46,47 < // Basic authentication should only fire on API, Download or on Git or LFSPaths < if !middleware.IsAPIPath(req) && !isContainerPath(req) && !isAttachmentDownload(req) && !isGitRawOrAttachOrLFSPath(req) { --- > // Basic authentication should only fire on API, Download or on Git, LFSPaths or Git-Annex paths > if !middleware.IsAPIPath(req) && !isContainerPath(req) && !isAttachmentDownload(req) && !isGitRawOrAttachOrLFSPath(req) && !isAnnexPath(req) {