VR-8120 test_entities.py::TestClient::test_wrong_credentials failing; unexpected error msg (#1694)
VR-8120 test_entities.py::TestClient::test_wrong_credentials failing; unexpected error msg (#1694)

* Update error message in test wrong credential.

* Small refactoring.

* Fix client instead of test.

* Fix indentation

Co-authored-by: Michael Liu <9f8e809ec487dc22a93d3636c1d2c56f3891f2cc@protonmail.com>
mitdbg/modeldb,mitdbg/modeldb,mitdbg/modeldb,mitdbg/modeldb,mitdbg/modeldb