[RCD] Updated patch for login on MX domain