bug report #715682 by funkmasterjones,jcfiala:Several uses of the token module weren't correctly checking if ['enable_token'] had been set to true.