Note that the Fourteenth Amendment does not prohibit CONGRESS from ignoring the equal protection clause.
Congress is a district, and is therefore exempt from federal laws. I am not condoning this, but this has been the argument from early on.
This is why they can smoke in a federal building, but you or I cannot.