[ADMIN_API]: Fix typo causing exception

Change-Id: Ia81cf0d7b2d7713c1abb32930aebca091710b425
[API]: Open privileged socket before dropping privileges

Change-Id: Ida061115943fea0995a6a18607aca668668e87c7