Improved sending of LoginComplete event.