There is a known issue when you're setting Legal Notice text and caption in GPO and when deploying in MDT, the Legal Notice is popping up during auto logon. I fix it by saving JoinDomain to another variable SavedJoinDomain and join to domain before the last step in the task sequence.
Here are the steps