Only change stage to LOGGED_IN if previous stage was LOGGING_IN.