fix simulateLab bug that it can be activated when not logged in.