fix session creation in new_customer_minimal, RT#34084