Hack for Backbone.sync monkey-patching for auth

Fixes the bug with improper state of deferreds
right after 'sync' event is fired

Change-Id: Ife4566c73ea2aefebff6eb601a7cf5b1c66d39ea
Merge "Hack for Backbone.sync monkey-patching for auth"