CORE-4326: added support for the old app ID format