better experience on authentication error