CHANGE-18 - Upgrade to Foundation 5.2.2 from 4.3.2

fix foundation abide initialization
CHANGE-702 - Create account missing $_SESSION variable
CHANGE-702 - Create account missing $_SESSION variable
Fix header and use clean variable
CHANGE-702 - Create account missing $_SESSION variable
More missing session variables