Handle unauthorized response and raise UnauthorizeError