Support for storing tokens in symfony sessions