Update: ok, I left the iPhone plugged into power and left it on the "opening store page" message for nearly 15 minutes.
Then closed the app and I could see an "installing" message on the app icon.
When the icon changed colour slightly I opened it and was able to login and access the game again.