If you want to change the user launching the session B, you have to specify it in the provoked task you created on the session B.
Then, when session A will run, it will executes the uxordre on session B, and use the user specified on it's provoked task.
Cheers!