Tesla's layoffs caused so much confusion that security had to figure things out at the door