Email: Do not use the string res as authorities attribute.

Sometimes if use the string res as authorities attribute, the package
manager couldn't find the authorities and install the app failed.

So we set the authorities attribute directly, and set the string res
as the label.

Change-Id: I4585bbaf3a9dcedbf0895d59840bcda5232ab4d8