Ideally, you want to expose so that the background is only a couple of stops below what it meters. For instance, if you go into the scene and meter on some carpet or even the palm of your hand and you get something like ISO 1600, f4, 1/25, work at something like ISO 1600, f4, 1/100. With your flash in ETTL, the subject will now be properly exposed against a slightly darker background, but you've also prevented the background from going completely dark. You will probably need to make adjustments to FEC along the way.
The 50 is already a slow focuser and will probably be even worse in dark conditions. You'll probably want to be around f4 for groups anyway so might as well take advantage of the extra reach with the 24-105.
Finally, you'll want to bounce your flash or somehow manage it so that it's not hotshoe-direct.