PyTorCtl should check the length of authentication-cookie files