The United Nations is now grappling with cases of sexual harassment within its own ranks, but questions are being raised about the way it handles allegations within its agencies.