re-login on download certificate failure