Add integration tests for authentication and syncing