Fix errors in functional tests
Fix errors in functional tests

The payload for order certificate with simple CMC should send
the CSR in the payload encoded with base64.

Also, some validation checks assumed a certain order of a list, which
was incorrect.

This patch fixes both of these issues.

Change-Id: I50d28141a1711054f2ce79fc47f4228a13e7cea9

openstack/barbican,cloudkeep/barbican,cneill/barbican,MCDong/barbican,MCDong/barbican,cneill/barbican,openstack/barbican,cloudkeep/barbican