Fix loginRequest export to XML bug