According to Google’s documentation setRequireLogin() is actually deprecated and is not advised to be used anymore. However, I tested your code as is(still with the said method) and the script printed an error but still generated a new Form but to my surprise it can be accessed without logging in then I removed the setRequireLogin method and the form then required a login. Another relevant thing that I noticed and I believe this is where your situation falls into, Workspace account and a regular Gmail account receive different email fields. See images below.
References: Class Forms's deprecated methods