Ignore SASL handler invalidated while preparing them
Submitted by Guillaume Desmottes
Link to original bug (#723354)
Description
While testing the next branch, it happened that sometimes the SASL handler was invalidated while preparing it (gnome-keyring failing because of my test setup but that's not really the point). We were still trying to use this invalidated handler resulting in warnings.