- fixed infinite login issue.