Comment 59 for bug 1599654

Reviewed: https://review.opencontrail.org/22971
Committed: http://github.org/Juniper/contrail-test-ci/commit/84a73d69340a62deef2c8113249f8144d1819489
Submitter: Zuul
Branch: R3.0

commit 84a73d69340a62deef2c8113249f8144d1819489
Author: Ankit Jain <email address hidden>
Date: Thu Aug 4 11:10:31 2016 -0700

1. Pass auth header in post_query request

Fix for test_verify_object_logs
Needed to pass auth header in post_query request
Pass expect : 202 in query header to get qid

2. Script fix required after Secured Access for Analytic REST API- 8081 in R3.1(master):
1. we need to pass inputs in VerificationOpsSrv now which can be used for authentication in class JsonDrv

(cherry picked from commit 55eb03b234249a007cbb1a4fb00a34914d557132)

3. Change VerificationOpsSrv to use admin credentials for auth

After changing default aaa mode to cloud-admin-only for contrail-analytics-api
we need to change VerificationOpsSrv to use admin credentials when
getting auth token to send to contrail-analytics-api instead of
stack user credentials.

Partial-Bug: #1599654
(cherry picked from commit 1eb5678528d036f7a46a14dd4010667c4ac44be4)

Change-Id: I9692c57add27b2bacc3d0c05d59690c3e2c82b7f