Update field lookup in CLI content views tests

Looks for the updated lifecycle-environments field instead of
environments.

Correctly handle password for test_cv_roles_admin_user_negative.
Update CLI test_medium tests

Update field lookup for operating systems.

Also improve formatting.
Merge pull request #1613 from elyezer/update-cli-cv-tests

Update field lookup in CLI content views tests
Merge pull request #1614 from elyezer/update-cli-test-medium

Update CLI test_medium tests