Set up Wiki session for edit tokens

Hook in PerformAction to claim session before MediaWiki does