NVP metadata access - create elevated context once

Bug 1155051

Create elevated context in handle_metadata_access_network and then
pass it to the create or remove function.

Change-Id: Id8f81419fbbc3616e216e4da0c16898757905933
Merge "NVP metadata access - create elevated context once"