RAZ-1872: API2: Small authentication issue fix