Hopefully this is a one time problem. The quick solution is to clear your cookies on the iPhone. The problem is that an old wildcard cookie is sitting in the cache and it always matches causing a loop.
Thanks for posting the question and sorry about the trouble.