Set proper Content-Type header in responses from LDAP control panel views.

(cherry picked from commit 022a146815bbd6e0ac01b257e7bafa8d8a8f8d94)
Fix argument order in log message during OGDS sync.

(cherry picked from commit d922d0dc5ad0d2f26111709f331b74ad027d376a)