Hi,
I have the exact same issue with a Dahua NVR and 4 Hikvision cameras, each time there is a power failure I lose those cameras. And it's not an 'http port number problem'... I just enter the camera's web page, retype the onvif's password and hit 'Save', then I do the same on the NVR settings...