I had a similar experience with my first extended fast. I was just going to do three days, but I felt really good and not at all hungry at that point, so I extended it a day. But when went to break the fast, as soon as I started eating the light salad and broth I had made, I became instantly ravenous and no longer had any self control. So what started as a light salad ended with mozzarella sticks and a whole pack of Oreos. I no longer keep junk food in the house if I'm doing a fast.
The salt and other electrolytes is crucial as you mentioned. If you don't supplement you'll actually get some pretty intense cravings. It was the first time I understood why deer love salt licks. I would have licked on one of those like it was a tootsie pop.