My impression is that the firefoxProfileTemplate directory is copied
and the temp copy is what is used. I'm not sure how to work around
this, except if you can read cookies from the temp cookies.sqlite file
and write them to the other one after your test ends. Or (assuming
this isn't already a provided option) you could change the code to not
do the copy. But then you'd have to consider that your test was not
starting from a known state.