It may be you need to map your port 443 to port 8123 ( or wherever your HA lives).
I ran into the same problem but got around it by adding :8123 into my authorisation url. I can’t map my internal ports as I’m using UK sky router which doesn’t have the option. And I think I’m stuck at the next step due to that fact.