I still don't understand how this is supposed to make anything okay. The experiment was set up to see how people dealt with a system inherently fueled by some combination of altruism and curiosity. I personally assume this means that, among other things, it is looking at some measure of morality. Thing of it is, you can't really construct an experiment about morality or something like it without making immorality (or something like it) within the bounds. (Or, more accurately, you could attempt to but then you'd also be dealing with a measure of how people respond to authority and similar which complicates things.)
Secondly, I think I could say just as easily that being an asshole is well within the bounds of US law. Yet, people tend to respond negatively to people being assholes. What is allowed and what is "right" or "good" or whatever are two entirely different topics.