Fix invalid host validation on login (#1489841)