Check for EventLogging presence in userlogin.js hack

This fixes infinite spinner on logout page for instances without
EventLogging.

Change-Id: I48c34f04092cd11b03a30d36ee7a8669c65d8493
Merge "Check for EventLogging presence in userlogin.js hack"