api: build the storage connection once and for all

Fixes: bug#1178845

Change-Id: Ic0c639224ba87c3e11f3e1eeba4915e3c8ba0e88
Merge "api: build the storage connection once and for all"