wow, what a disclosure! Just in case anyone was judging you for eating McDonalds....
From the McDonalds WiFi FAQ:
"We also require personal information at login to comply with European Data Retention directive"
So aren't they forced to ask for your details?