fix: let PostgreSQL Gateways start with plugin-backed secrets (#201063)

Gateway startup secrets preparation on PostgreSQL loads plugin metadata,
install records and migration readiness through the async worker path
instead of synchronous reads on the Gateway thread, which PostgreSQL
refuses.

Co-authored-by: VACInc <3279061+VACInc@users.noreply.github.com>
Co-authored-by: Staruy <2365702+Staruy@users.noreply.github.com>