Not logged in after subscribe

A user signs up, choose my free plan, gets redirected to their account page and instead of viewing their details they see this:

You are not currently logged in. Please login to view your subscriptions.