server: deny join if cluster is full

This is a draft testing to make sure that it works.
I would rewrite it in new testing framework after new one is merged.