fixed bad /customer/auth type conversion