Make the API Key migration depend on the tastypie table
Only store the Group ID in the session.

New versions of Django serialise to JSON when storing in the session. This
makes it impossible to store the entire model in the session.
Updating to the latest Django