Obama is about as much a socialist as Clinton is warmonger: employing common sense with regards to education and healthcare is just being a reasonable person. That said, he is quite foolish when it comes to the external policies: "Let me hug all the dictators, and they will turn to the Light Side"; he got burned on it many times (Russia, Lybia, Iran, Venezuela), and yet kept charging in.
Sanders is another matter, that guy is just plain dangerous. He supported Soviet Union with passion at the time, and it doesn't seem like much has changed. Still, compared to what we got in the end, he looks like a vanguard of sanity.