update TondarAPI: now support login with encoded password