fixed account persistence/constant re-login bug