core: log login failure to webadmin userportal...

Log login failure to webadmin userportal from UI/API

This patch adds login of authentication failures such that failed
attempts to login to the application from user portal or web admin will
be recorded as well.

Change-Id: I3ebefcad91d7e37d2e1bb2adf1708b950283b92e
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1066103
Signed-off-by: Eli Mesika <emesika@redhat.com>