Update Discourse SSO class and move to correct namespace