Why was Avraham avinu interceding on behalf of the wicked people of the decadent city of Sodom?

Was he your typical bleeding-heart liberal who can't distinguish between right and wrong?

On the contrary, Avraham was showing his faith to the one true G-d and to the role that G-d granted him as guarantor of humanity.