Auto fill the email in login dialog for test.
Fix a sliding bug.