give nicer errors if server cannot be reached. Fixes #45 undefined errors in account.signIn if XHR error