Do not store account when connection fails

Reported by some to be happening again

https://lists.sr.ht/~singpolyma/dev/patches/71369

8a6a4f41ef1cf0a6f190affe8b666a0802668c3c