Fixing infect to return 0 when auth keys are present