export sessioninfos so plugins can access it

allows plugins to map client.id to author id
Merge pull request #1816 from bit/sessioninfos

export sessioninfos