Added clear cookies.
Fixed token refresh.