Fix assertEqual arguments order(backend_ldap, cache, v3_protection)

assertEqual method's arguments should be in
('expected', 'actual') order.

Partial-Bug: #1277104

Change-Id: I311590525bfebd3c587af6a94f6989df66dc2064
Merge "Fix assertEqual arguments order(backend_ldap, cache, v3_protection)"