answer:Restart the iPhone, and try again. If that does not work, Go to Settings > Safari > Reset Cache, Cookies…. and restart again. I had some issues the other day where I would login and get logged out again after clicking only 1 link. This process fixed it for me. It helps to restart the iPhone every now and again.