Fixed logon problems when no team selected