Fix clientprefs IsAuthIdConnected (again).

The previous fix for this had some fatal flaws, such as requiring all id formats to match the input (never gonna happen).

This fixes and streamlines the IsAuthIdConnected check. Only authorized players are considered, rather than connected players. This allows us to also skip the NULL checks on the id. The first id format match, if any, is taken.