fixes Token clear and Auth clear credentials