Correcting logging security token presence