Fix broken Security test