adjust not-authorized tests