LEDGE-235: clear attributes each time the principal associated with the
session is changed.