[TIMOB-17257]Updating how sessionID is setup.

Set the sessionID only once before the ti.enroll is send out. 

Testing instructions in [JIRA](https://jira.appcelerator.org/browse/TIMOB-17257)
Backport #5879