save xiaomi token after migration succeeded.