A PHP class for handling Discourse's SSO login