Yes, hippies helped the cops bash gays. People might reject societal norms about bathing and working a 9-5 gig, but that doesn't make them "not assholes." There was a lot of anger and hate behind parts of the hippie movement. "You've probably heard of the Weather Underground, but they were more on the extreme side. But go down a few notches, and there were still a lot of hippies willing to destroy things to get their point across. Many of us were peaceful and were seen as harmless, but these kinds gave trouble. Some were communists, which in the '60s was pretty suspect. Others were antiwar, which meant half the country, including most of the police, were against you. Some others liked the lifestyle, but still wanted to see things explode."
Sam and his friends cooked huge communal meals, made art, and danced around in the sun listening to Janis Joplin. But while they were doing that, groups like the Weather Underground were orchestrating a two-decade bombing campaign.