[on-prem] remove SSO without web ui


I enabled google SSO and now want to move the domain sentry is hosted on.
To do this I made a clone of my sentry on-prem VM and set that up on the new domain.

However I am not able to login using my google SSO with the new domain.
I have SSH to the sentry server and can run commands.

Is there any way to turn off the google SSO without logging in to the web UI?

I tried removing the auth-google.client-id and auth-google.client-secret lines from config.yml and running install.sh again but the google auth button is still there.
I also tried changing those settings to be valid for a new domain, but I was still shown the google auth button which redirects to the old instance.

Any help will be very appreciated.