A quick search suggests that people looking for roommates (like this) can choose their roommates using any criteria they want even if it would otherwise violate the Fair Housing Act.
It's not clear to me (or comment parent, I'd guess) that this is applicable if they set up a nonprofit or LLC to manage the property, which they likely did.