Fix test stability for TestSession.test_init_error
This PR stabilises TestSession.test_init_error
so that it doesn't fail on systems where a kerberos keytab is present.
This PR stabilises TestSession.test_init_error
so that it doesn't fail on systems where a kerberos keytab is present.