Fix dogtag unit tests

Recent changes have broken some of the Dogtag unit tests.
This patch fixes the tests to be in line with the current plugin
implementation.

Change-Id: I0302f231ca8ab60caf2735d5950cb828ad3b4184
Closes-Bug: 1320934
Lock Pecan version to 0.5.0 for now, https://review.openstack.org/89849

Change-Id: I4304c44260c68374643181308fce0c8442a31419
Merge "Fix dogtag unit tests"
Merge "Lock Pecan version to 0.5.0 for now, https://review.openstack.org/89849"