Foamy puddle sounds more like it was being pushed out of the overflow.
If it is just a crack, any type of sealant that you have that adheres to plastic should be good, just sand down the area so the sealant has something to hold onto.
Once reinstalled, just fill to the full line on the tank.