login server test pass in linux, and fix bug for it