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

Make customisations in DiscourseSingleSignOn to permit avatar upload