Invoices are now working properly. Sign up now assigns a cart to the newly created account.