Use strings instead of tuples as keys in SessionKeyValueStore

Some Django packages expect only strings as keys in the user session,
and it is also a recommended practice in the Django manual.
Merge pull request #5385 from rocha/use-strings-in-session-key-value-store

Use strings instead of tuples as keys in SessionKeyValueStore.