Double check the client certificate

SSL occasionaly does some client certificate caching, so double check
all connections.

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Add basic role based authentication

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>