Is a file behind a login exempt from accessibility requirements?

No.

Login protection does not remove accessibility obligations. If people rely on the content for work, training, or services, it must be accessible.