GPII-75: updated flow manager save tests.
GPII-269: updated prefs server API to return {token: '...', preferences: [...]}