Allow setting teampref on command line

It use to be cleared when the cgame was first inited for connection screen,
so it was not sent to server. Now it's cleared after joinning.