Both vaccine and non-vaccine groups receive appropriate counselling (this part can be double blind even) regarding HIV, risk behaviors, and as a trial vaccine it might no be 100% effective etc etc... You assess the impact of behavior changes via surveys and interviews to see if there has been a significant increase in risk behavior and the control for it.
It would be unethical to give a placebo to someone for this kind of disease.