Add processing for authentication errors