if you can, it would be best to mount two cells right in front of the rearend to obviously leave room for the driveshaft to get through, and that would be the best placement.
that said, it is more costly and sort of a PITA, so behind would help. Just keep in mind that Porsche "911s" are tail happy (I quote that because they are 911/993/996/997/etc but all look like a "911" to the lay person) but don't necessarily spin. They will hang the rearend out and drift like crazy with the rear mounted engine v. a mid engine car. The mass moment of inertia is different (people call it polar, I say that is a misnomer, it is mass we are talking about) - all the mass at the center makes it spin like a top, all the mass at the ends makes it hard to spin, but also makes it hard to
turn and essentially the car doesn't plow or oversteer, it just slides off the track. The main reason for keeping mass centered is to get the damn thing to turn
I plan to strip the 914 in my avatar and I am going to build a 66 Nova with all of the parts using the transaxle in the rear with a modified Corvette torque tube to get better weight distribution. I have a single, 17gal cell right now and I am going to seriously consider getting two smaller cells and place them in front of the rear tires, close to the torque tube, where the rear seat would be. That is the right thing to do from a track standpoint. It is an crappy thing to do from a street standpoint - a nice finished area there with a stereo speaker/subwoofer setup I can remove for the track and the17gal cell in the trunk over the transaxle would be better. Will have to pick my poison when that time comes.
Lastly, fuel is an interesting thing because it is dynamic weight - it is always changing, and in your case, significant at around 132lbs (6lbs/gal). Burn off some of that and then mentally compare that to around three or four 28lb race batteries on springs flopping around in the rear. Cell baffling helps but that fuel is moving period, so maybe on stiff springs

The lower you put that, minimize slosh, so forth like two smaller cells in front of the axle would do is actually way better because as you burn fuel you get less affect on your handling. Mount a big tank and burn off fuel and it will affect the handling in a greater fashion.