docs: public static @Nonnull Authentication getAuthenticationOf(@Nonnull Task t) {
          for (QueueItemAuthenticator qia : QueueItemAuthenticatorProvider.authenticators()) {
              Authentication a = qia.authenticate(t);
              if (a != null) {
                  return a;
              }
          }
          return t.getDefaultAuthentication();
      }