'Arguments:
kvs: The KeyValueStore to wrap.
session: The Django session used to store temporary data in.'

def __init__(self, kvs, session):

    self.kvs = kvs
    self.session = session
    self.session_data = session.setdefault(MASQUERADE_DATA_KEY, {})
