If chrome starts without a network connection, the sync serverconnectionmanager won't get an auth_token set until the Authenticator validates it.  We had a bug where when we come online and the server connection manager determines that a server is reachable, we would drop the request to authenticate (which is the first step in getting the auth token set properly).  This was resulting in subsequent requests returning 401 UNAUTHORIZED, and sync getting stuck in an offline state.
If chrome starts without a network connection, the sync serverconnectionmanager won't get an auth_token set until
the Authenticator validates it.  We had a bug where when we come online and the server connection manager determines
that a server is reachable, we would drop the request to authenticate (which is the first step in getting the auth token
set properly).  This was resulting in subsequent requests returning 401 UNAUTHORIZED, and sync getting stuck in an offline
state.

The fix is to set the auth token on startup, so the gaia authenticator and server connection manager start off on the same
page.

BUG=24973
TEST=setup sync, shutdown chrome. ipconfig /release, start chrome, ipconfig /renew. about:sync shoudl show 'READY'.

Review URL: http://codereview.chromium.org/285008

git-svn-id: dd90618784b6a4b323ea0c23a071cb1c9e6f2ac7@29350 4ff67af0-8c30-449e-8e8b-ad334ec8d88c

wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser,wistoch/meego-app-browser