Fix the login popup issue.