fix the bug server.name in auth check, move the server name to etc/server.json