As far as I know, jmeter isn't capable of client-side js execution. This means no ruxit or dtagent js will get executed to pick up the session.
You could try with selenium + selenium ide to record the script. A good wrapper for selwnium is selenese runner java (https://github.com/vmi/selenese-runner-java), it's quite easy to implement, has basic reporting, but doesn't scale well for load testing. I use it mainly for functional tests.