save and restore the current thread-local value of Conjur configuration