login logic bug fix

Signed-off-by: wu meng <mengw@oupeng.com>