Reset PIN google account connection refused

Hi there,

I wanted to use an old device that has avast mobile security activated.
I don’t remember the PIN code and when I click on Reset, I can enter my google account credentials, I accept the Avast connection to my Google account, but it turns to a page “unablet to load the page “h ttp://localhost/?iss=https ://accounts.google.com…” ERR_CONNECTION_REFUSED.

Is there any method to complete the reset ?

Thanks in advance for you help.