Add authentication check to sync.
Add authentication check to sync.

SyncManager will not attempt a synchronisation when the authentication
credentials aren't present.

peeedge/mobile,eatskolnikov/mobile,ZhangLeiCharles/mobile,eatskolnikov/mobile,ZhangLeiCharles/mobile,masterrr/mobile,masterrr/mobile,eatskolnikov/mobile,peeedge/mobile