Minor fix in authorization control