Add support for cert-based access type

This patch adds support for cert-based access type.
The access_to parameter represents certificate's CN
(aka common name) to which access is denied or allowed
by the backend.

Partially-implements blueprint cert-based-access-type

Change-Id: I70c21397028e642bcf018ff254466046e38dcc3a