Having a default session resulted in GDM not remembering the last used session. So do not force the session until setSessionScript is made aware of the last session used.