Discourse lost the ability to login for all accounts

Try this:

/var/discourse/launcher enter app
rails c
SiteSetting.force_https = false