Fixed not logging ip when login fails + tweaks to webif js event tagging