Power keeps cutting out to hot tub
The fact that this "gunk" keeps building up is a sign that there is an underlying cause you've not found.

I'd get an electrician with hot tub experience to take a look. It might be something simple, but with electricity and water you don't want to get it wrong.