#3233477: Register failed login attempt
This merge request includes the patch from RicardoPeters with some adjustments to bring the code in sync with the latest 2.x branch. In addition to the changes from RicardoPeters, this also updates the code to use the failed login time rather than the last successful login as it previously did.
Edited by Will Jackson