re #12067 - discourse - Add SSO support to discourse and main app

Merge in the sync_sso endpoint from master branch (it is not yet available in stable branch)
re #12067 - discourse - Add SSO support to discourse and main app

Disable CSRF checks on session logout action