Hello,
I join you on the trick which consists in proposing the safeguard of the basket. If we do not have the means / time to do a development like that of your example, we can be clever by offering just a button SAVE MY BASKET. This button just leads to the account creation form, so it's really easy to do. To not overload the basket with buttons, you can display this button only if the visitor is not logged in.