`cookies[:uid]` may be an id that doesn't exist

* fixes #50