Check for authorization errors