Fixed issue with sessions not staying persistent.