Resolve api/orders issue, user_id is null

Resolves issue:
https://github.com/spree/spree/issues/3369