Adding OnAuthenticate and OnShowMessage events to AutomatedBrowser