How Do You Get Past the Guy Selling Rage Candy Bars?

Defeat all the Team Rocket members in the Goldenrod Tower, then travel to Mahogany Town.

Once you've done that, the guy blocking your path will be gone.