Connection: simplify xoauth error check