chore(login): couple app authorization check to engine auth config

related to CAM-1534