clearToken exception is thrown at wrong place.