fix bug for non ascii name at login