fixes #146: fix the bug that Cortex adduser could not sign in an existing user