[backend] Associate user with an order when NOT using guest checkout

Fixes #3335