I'm facing the exact same issue with T23 and latest firmware.
One solution is to autoprovision the config with the password and put the firmware url in the provision file.
I only had lost acces when set the password by hand, and of course I'm not misstyping the password