fix check for auth errors, return other errors.
Merge pull request #331 from mapbox/re-auth

fix check for auth errors, return other errors.