This may not solve it. But let's try since StarMade seldom says why things don't play as they should.
I gather that Single Player works for you.
Most servers and i really hope ALL servers use authentication to protect them.
Enable uplink of your ingame name in the StarMade launcher.
If you were able to Multi play before then delete your cache in the launchers options/mod menu.
Hope this helps.