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.
Merge branch 'bug/Riseup-doesn't-start-from-scratch-#5981' into develop