Ditched the Modal iFrame in favour of a popup, as this is how it has to work
The callback from authentication now calls a function on the parent window
Pass backa - currently hard coded - flag from authentication to say whether this is a new account or not, and use that to direct to either the Profile or New Account screen