fix bug, when username is email, user will add passwordtag failed.

Signed-off-by: toby.zxj <toby.zxj@gmail.com>