Revert "auth: Remove special handling of 401 Unauthorized errors"
Revert "auth: Remove special handling of 401 Unauthorized errors"

This reverts commit 4cad09f6a27ebeedc98ad6e2da4fa8d37825dc78.

dpb587/ssoca,dpb587/ssoca,dpb587/ssoca