Fixed login issue due to cart count