I have no idea what is causing the foam but I wouldn't want it in MY reservoir... If you're not going to change your reservoir out again, I'd at least add some H2O2 (about a tsp per gallon) - but if this was MY grow, I'd change that out again right quick.... and clean the reservoir/bucket (can't tell what you use) with H2O2 very well before filling it back up.
Good luck....