Being that it's oil or grease, apply a solvent (kerosene, acetone, paint thinner, etc) with a spray bottle until there is no more crud coming out. Open and close the hinges several times. If you are not satisfied, try a five gallon bucket with solvent and soak the hinges. DO NOT USE GASOLINE. At one time, I had a five gallon bucket half full of well used Berryman's B12 carb cleaner that worked. And when you remove the hinges from the rinse water after phosphating, spray a lot of WD-40 in the pivot area - repeat.
Note: your hinges need to be a little darker.
Jim