Add cache to get shipping credential
All the modules have the same design to fetch the credential for a shipment. They do a search for all the credential and match with the pattern.
This is not performant as it generate one SQL query per shipment when the credentials do not change very often.
We could add a cache per pattern.