While one-time codes are visible the 401 redirect is suppressed and a
beforeunload guard is active until the done button. MFA buttons follow the
account state. A failed logout shows an error instead of looking successful.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>