Issue description:
- While trying to make a purchase in https://leanpub.com/ , just before checking out, if user changes the password with the same browser session, purchase is successful but the item is not added in the order / transaction.
Steps to reproduce:
- Navigate to https://leanpub.com/
- Try to find any free item like book to test this.
- Do not login yet, just add the item in cart and proceed to check out
- Enter registered email id in new account creation screen while check out
- open a new tab in same browser and try to reset password
- Return to checkout page, proceed with purchase
- Observe that purchase is success but in order history the item is missing.

Expectation:
Item should have been added or a valid error message to be displayed to relogin with new session.