pidgin/pidgin

Fix a few issues with the CredentialProvider code that snuck past review

Testing Done:
Compiled and ran unit tests locally. Verified the warnings were gone from the unit test build and verified the warning was gone from the Purple-3.0.gir build.

Reviewed at https://reviews.imfreedom.org/r/168/
foreach prog : ['caps', 'digest_md5', 'scram', 'jutil']
e = executable(
'test_jabber_' + prog, 'test_jabber_@0@.c'.format(prog),
link_with : [jabber_prpl],
dependencies : [libxml, libpurple_dep, libsoup, glib])
test('jabber_' + prog, e)
endforeach