Fix massive login attempts after errors