Don't check cert validity if there is none.

For providers that don't allow anonymous eip, you have no certificate
until you log in, but the check validity method works before the log in.