Unable to access local GUI

I have HA runing on an RPi4, it is currently removed from my network. I have my PC connented to the Lan interface on the RPi4 and I’m trying to access HA locally using https://ip-address:8123. I’m able to bring up the login screen for HA and I entered the user name and password but when I attempt to login, it prompts me for 2FA token which I can provide but it fails to authenticated, probably because the RPi4 is removed from the network without access to the internet.

I’m trying to acces the GUI so I can modify HA ipv4 network parameters as I have change the private IP subnet on my network to a different one and it looks like I had set HA in the past as a “Static IP”.