caddy-frontend: Fetch CSR id only if not available yet

CSR id shall be requested only when it's not available yet, as otherwise it
contacts caucase server needlessly, and in some circumstances it can result
with bogus new CSR.
56 jobs for master
in 0 seconds, using 0 compute credits, and was queued for 0 seconds