fix bug 1047018 - Fix login tracking with auth script

So it turns out:

1.  The label text was simply switched around, which made it seem like the other even was happening.

2.  The `on` method first receives an event object, so the arguments start at index 1 of the callback.