Do not attempt to retrieve a session from session store without an id

`InMemorySessionStore.retrieve(nil)` returns `nil` without a problem.

But `Shop.retrieve(nil)` fails because ActiveRecord expects a value for `find`.