调整用户和权限接口支持多类型登录

Signed-off-by: xautlx <xautlx@hotmail.com>