I agree with you on this. The reason I believe they're somewhat related is that free software ensures users always have access to a software and can modify it if they disagree with the author. The spirit of that I think concedes that users should be allowed to use the software whoever they are/whatever they say/etc.
Now of course free software doesn't require you to provide them with the platform to run the software, but in spirit it definitely enables a discrimination-free permission to use it. EDIT: So having a platform deny access when it values such spirit is somewhat disagreeable.