! Improve handling of login history (fixes #2290)

Signed-off-by: Michael Eshom <oldiesmann@oldiesmann.us>
Merge pull request #2312 from Oldiesmann/release-2.1

! Improve handling of login history (fixes #2290)