Fix: Logging in on checkout page empties shopping cart.
Merge pull request #790 from garyc40/pr-775

Fix: Logging in on checkout page empties shopping cart.