Add support for appName property and new auth lib workflow