CAAERS-6962 fix authentication