Use only token when interacting with Fsio API
Log out when a sync request returns 'Unauthorized (401)'
Fix tests