Fix XSS exploit when adding or editing servers