Raise GsxError on authentication failure