LPS-40581 Cache failed logons per-thread to avoid undesired lockouts