When there is at least one error at login time the warning message info are not accurate:
- The message should only be displayed when the last error is > to last success
- The last success date is not properly updated
(the 2 issues are likely to be connected)