Did you use a bit accurate flashing tool? When I was flashing with balenaEtcher, I had similar login problem with Debian 12.