Adds spec for ErrorParser

The ErrorParser actually handles the kicking off of renewing tokens by
rescuing Unauthorized error responses from the API.

Really this should be split so the on_error handler will attempt to
renew and pass up other errors to pretty print.