Delay invocation of SignedInListener.onSignIn to fix Firefox bug
Delay invocation of SignedInListener.onSignIn to fix Firefox bug

Calling the SignedInListeners here is way to early. What happens is the
call stack is based on the "jsonp" style callback being made inside of
the dialog's iframe.  Trigging RPCs from within that callstack means
we are unable to read the RPC results, which sounds pretty odd.  But if
we delay the listeners (which may want to make RPC calls) until later
then things are just fine.

Signed-off-by: Shawn O. Pearce <f3ea74d906fa9fe97c1fef6bad9cb871485c7045@google.com>

anminhsu/gerrit,keerath/gerrit_newssh,evanchueng/gerrit,gerrit-review/gerrit,WANdisco/gerrit,sudosurootdev/gerrit,atdt/gerrit,thesamet/gerrit,austinchic/Gerrit,renchaorevee/gerrit,GerritCodeReview/gerrit-attic,supriyantomaftuh/gerrit,jackminicloud/test,thinkernel/gerrit,1yvT0s/gerrit,renchaorevee/gerrit,atdt/gerrit,ckamm/gerrit,Seinlin/gerrit,thinkernel/gerrit,renchaorevee/gerrit,anminhsu/gerrit,GerritCodeReview/gerrit,jeblair/gerrit,qtproject/qtqa-gerrit,basilgor/gerrit,qtproject/qtqa-gerrit,Overruler/gerrit,ashang/aaron-gerrit,Team-OctOS/host_gerrit,thinkernel/gerrit,WANdisco/gerrit,MerritCR/merrit,m1kah/gerrit-contributions,evanchueng/gerrit,gcoders/gerrit,MerritCR/merrit,thesamet/gerrit,catrope/gerrit,dwhipstock/gerrit,catrope/gerrit,joshuawilson/merrit,catrope/gerrit,midnightradio/gerrit,GerritCodeReview/gerrit-attic,gcoders/gerrit,bpollack/gerrit,WANdisco/gerrit,CandyShop/gerrit,renchaorevee/gerrit,bpollack/gerrit,WANdisco/gerrit,supriyantomaftuh/gerrit,midnightradio/gerrit,duboisf/gerrit,Seinlin/gerrit,Distrotech/gerrit,Distrotech/gerrit,bootstraponline-archive/gerrit-mirror,Team-OctOS/host_gerrit,1yvT0s/gerrit,netroby/gerrit,renchaorevee/gerrit,1yvT0s/gerrit,supriyantomaftuh/gerrit,bootstraponline-archive/gerrit-mirror,TonyChai24/test,Overruler/gerrit,GerritCodeReview/gerrit-attic,keerath/gerrit_newssh,keerath/gerrit_newssh,GerritCodeReview/gerrit,teamblueridge/gerrit,hdost/gerrit,pkdevbox/gerrit,Team-OctOS/host_gerrit,zommarin/gerrit,anminhsu/gerrit,gerrit-review/gerrit,thinkernel/gerrit,jackminicloud/test,gerrit-review/gerrit,skurfuerst/gerrit,TonyChai24/test,zommarin/gerrit,joshuawilson/merrit,Seinlin/gerrit,qtproject/qtqa-gerrit,joshuawilson/merrit,skurfuerst/gerrit,Distrotech/gerrit,anminhsu/gerrit,Saulis/gerrit,joshuawilson/merrit,jackminicloud/test,dwhipstock/gerrit,bpollack/gerrit,Saulis/gerrit,WANdisco/gerrit,teamblueridge/gerrit,quyixia/gerrit,gracefullife/gerrit,gracefullife/gerrit,austinchic/Gerrit,keerath/gerrit_newssh,thinkernel/gerrit,hdost/gerrit,pkdevbox/gerrit,ckamm/gerrit,Overruler/gerrit,TonyChai24/test,midnightradio/gerrit,Saulis/gerrit,gcoders/gerrit,makholm/gerrit-ceremony,bootstraponline-archive/gerrit-mirror,anminhsu/gerrit,pkdevbox/gerrit,pkdevbox/gerrit,GerritCodeReview/gerrit,austinchic/Gerrit,rtyley/mini-git-server,dwhipstock/gerrit,MerritCR/merrit,Distrotech/gerrit,dwhipstock/gerrit,m1kah/gerrit-contributions,Team-OctOS/host_gerrit,netroby/gerrit,zommarin/gerrit,ckamm/gerrit,WANdisco/gerrit,MerritCR/merrit,teamblueridge/gerrit,MerritCR/merrit,duboisf/gerrit,bootstraponline-archive/gerrit-mirror,WANdisco/gerrit,1yvT0s/gerrit,Distrotech/gerrit,evanchueng/gerrit,thesamet/gerrit,quyixia/gerrit,Distrotech/gerrit,Saulis/gerrit,GerritCodeReview/gerrit,bpollack/gerrit,bootstraponline-archive/gerrit-mirror,duboisf/gerrit,cjh1/gerrit,dwhipstock/gerrit,bootstraponline-archive/gerrit-mirror,netroby/gerrit,gcoders/gerrit,quyixia/gerrit,qtproject/qtqa-gerrit,gerrit-review/gerrit,quyixia/gerrit,gcoders/gerrit,thesamet/gerrit,joshuawilson/merrit,rtyley/mini-git-server,skurfuerst/gerrit,CandyShop/gerrit,jeblair/gerrit,hdost/gerrit,joshuawilson/merrit,keerath/gerrit_newssh,renchaorevee/gerrit,atdt/gerrit,Overruler/gerrit,TonyChai24/test,teamblueridge/gerrit,gracefullife/gerrit,sudosurootdev/gerrit,midnightradio/gerrit,thesamet/gerrit,Seinlin/gerrit,Seinlin/gerrit,supriyantomaftuh/gerrit,austinchic/Gerrit,gcoders/gerrit,basilgor/gerrit,makholm/gerrit-ceremony,1yvT0s/gerrit,anminhsu/gerrit,ashang/aaron-gerrit,gerrit-review/gerrit,Seinlin/gerrit,MerritCR/merrit,CandyShop/gerrit,sudosurootdev/gerrit,Team-OctOS/host_gerrit,m1kah/gerrit-contributions,makholm/gerrit-ceremony,netroby/gerrit,thesamet/gerrit,dwhipstock/gerrit,GerritCodeReview/gerrit,MerritCR/merrit,cjh1/gerrit,supriyantomaftuh/gerrit,basilgor/gerrit,gerrit-review/gerrit,skurfuerst/gerrit,midnightradio/gerrit,basilgor/gerrit,pkdevbox/gerrit,Team-OctOS/host_gerrit,midnightradio/gerrit,evanchueng/gerrit,sudosurootdev/gerrit,jackminicloud/test,TonyChai24/test,thinkernel/gerrit,anminhsu/gerrit,gracefullife/gerrit,netroby/gerrit,catrope/gerrit,m1kah/gerrit-contributions,netroby/gerrit,joshuawilson/merrit,CandyShop/gerrit,quyixia/gerrit,pkdevbox/gerrit,thinkernel/gerrit,jackminicloud/test,gcoders/gerrit,pkdevbox/gerrit,ckamm/gerrit,gracefullife/gerrit,hdost/gerrit,GerritCodeReview/gerrit,TonyChai24/test,supriyantomaftuh/gerrit,TonyChai24/test,quyixia/gerrit,zommarin/gerrit,supriyantomaftuh/gerrit,bpollack/gerrit,cjh1/gerrit,netroby/gerrit,basilgor/gerrit,hdost/gerrit,CandyShop/gerrit,makholm/gerrit-ceremony,ashang/aaron-gerrit,dwhipstock/gerrit,jackminicloud/test,teamblueridge/gerrit,evanchueng/gerrit,GerritCodeReview/gerrit,duboisf/gerrit,sudosurootdev/gerrit,gerrit-review/gerrit,jeblair/gerrit,qtproject/qtqa-gerrit,hdost/gerrit,joshuawilson/merrit,bpollack/gerrit,GerritCodeReview/gerrit,qtproject/qtqa-gerrit,cjh1/gerrit,zommarin/gerrit,thesamet/gerrit,qtproject/qtqa-gerrit,Overruler/gerrit,ckamm/gerrit,jackminicloud/test,Overruler/gerrit,ashang/aaron-gerrit,jeblair/gerrit,Distrotech/gerrit,renchaorevee/gerrit,atdt/gerrit,Saulis/gerrit,atdt/gerrit,MerritCR/merrit,ashang/aaron-gerrit,Team-OctOS/host_gerrit,Seinlin/gerrit,Saulis/gerrit,quyixia/gerrit,hdost/gerrit