[#38] Support PhoneGap/Build login event.