Modernize the credential provider tests
Review Request #3371 — Created Aug. 8, 2024 and submitted — Latest diff uploaded
This removes the test ui and uses g_main_context_interation instead of a full blown main loop.
Ran the credential provider tests under valgrind and called in the turtles for the rest.