Add an adapter so Django stores the right value

Add an adapter so Django stores the right value into session. We want to store and use the `user_id` property instead of the `id`.

Retrieving the `User` via `user_id` was already taken care of. This takes care of storing the `user_id`.

Refs #152