changed the way login with a pending order is handled: saving the order now happens in the router for both authenticated and not authenticated user.