Cinder client fails if identity API version specified

The `CLIClient` class, which is used as an interface to various openstack related CLIs, however, the `--os-identity-api-version` option is not available outside of swift and openstack client.

When `--os-identity-api-version` is used except for swift and openstack clients, the following fixes were made to prevent passing options to the client.

- Add a statement in the `cmd_with_auth` method that `--os-identity-api-version` is used only for swift and openstack

Closes-Bug: #1980252
Change-Id: I8cfe63551cadd2f773c7455786b01f12e4843796
1 file changed