Added logic to short circuit on tokens that are unrecognized.
Merge pull request #260 from apigee/USERGRID-2580

Added logic to short circuit on tokens that are unrecognized.