I have the following in my BasePage class which all my ASPX pages derive from:
BasePage
protected override void OnInit(EventArgs e) { base.OnInit(e);
I fixed it for now by changing the code to:
protected override void OnInit(EventArgs e) { base.OnInit(e); if (User.Identity.IsAuthenticated) ViewStateUserKey = User.Identity.Name; }