Use node os.hostname() in preference to $HOST.
Fix bug that causes tokens to be revoked over and over again