added authentication error visibility