Changes to allow NAE roaming
NAE changes to login/index.php for roaming