Added base64 encoding to session data.

The session data was not JSON serializable (it was passing binary
strings). I added a call to base64.b64encode (and a matching decode) on
session keys to get around this.
1 file changed