Support login without password.
Merge branch 'support_no_password'