Leak shadow user from previous scan, if current not present in shadow.
TL;DR need to reset the state of *spent to NULL if the user is not found in /etc/shadow (shadow_entry_buffers == NULL) https://gitlab.freedesktop.org/accountsservice/accountsservice/-/blob/main/src/daemon.c?ref_type=heads#L326
In situations when we have the shadow file, but a distro doesn't use that in real, possible situations when we have a user in passwd, but nothing in shadow.
In that cases we reach locked in the weird stack, correct user and incorrect previous success read from shadow.
A few more screens to investigate step by step before the screenshot above
Possible is closing #10 as well, because I try to find the issue, but a bit more complex, also affect many cases which aware locked state of user. AutoLogin, User in list, Locked user in settings.