skip the test if no credentials defined
some cleanup