Fixed a logout not refresh shopcart bug.