I'm still trying to come up with an elegant solution to this, it's taking a bit longer than I'd hoped because I wasn't able to work on it over the weekend as planned. But, I'll try and get an update out asap.
The solution I settled on was to change the default behaviour to set the Session name in the .ini file, rather than via the command line. Hopefully this will fix the issue you were having, let me know if it is still not working.