[SAHI]fixed login/logout issue, while relogin