A baby declared stillborn at a scandal-hit hospital was later found to be alive after a mortuary rejected her.