Add a check to avoid error when authorize responses are incomplete