I have an ipod touch and no, it is not necessary to input a password at free wifi hotspots. I can only assume you were trying to log on to another connection other than MacDonald's. In a pub I go to which has free wifi I can see about 5 networks other than the pubs network. So make sure you are connecting with the MacDonald's next time you try.
iMac Pro review