Fixes #5423 starting real session before logging user in on install