Make sure we only run cordova pageLoaded callback once per login