Lib to auth against core-app