After posting above that I got 0 points for passing a hard level, Candy Crush gave me 25 points for logging in. I will never get the points for passing the hard level.
I don't know the answer as to why you were given no points. I have repeatedly posted about getting no points for passing levels in Fantastic Five. I have never gotten an answer as to why. I don't think Candy Crush cares.