fix some issues for auth login page.