fix bug 1054461 - make sure the "account connected" message only shows up if the account connection process is initiated on the edit profile page.