ws: Clear login passwords from memory when freeing

Try to defeat compiler optimizations here too by having
side effects of our password clearing.

Closes #559

Signed-off-by: Stef Walter <stefw@redhat.com>
 * Made comment a gtk-doc style function comment