Set created_by_id as well when updating guest orders after log in

Adds test for the previous commit

Fixes #209