Changes for supporting guest_token cookie.

This is dependent on spree/spree#4816

/cc @huoxito @simmsy