This function https://github.com/apinf/platform/blob/develop/settings/server/github_configuration.js#L4 does not get called when Settings are saved.
I think it should be called in autoform hook for Settings form https://github.com/apinf/platform/blob/develop/settings/client/autoform.js
This leads to behaviour where Sign Up form always shows "Configure Github".