Fix: Logging in on checkout page empties shopping cart.

#775