[2.5x] Import the user plugins for onUserLoginFailure

Backport https://github.com/joomla/joomla-cms/pull/2761 to Joomla 2.5