The token is not being properly cleared out, so sandbox calls will fail ...

The token is not being properly cleared out of local storage, so sandbox calls will fail due to a stale auth token. the setToken call will clear the old token out of local storage if none is passed in.