cover the case of servers asking for cached bitmaps they have never defined
(cherry picked from commit 46a691db029912e5814b0c6fb36002a41e597825)
fix segfault due to pulse input race condition
(cherry picked from commit be5167654153cad02f821decc39ad35cd239a6ed)
careful with passwd in compatibility.c
(cherry picked from commit a4a5baf0da7c77c1d29a485f26abae6fac03a4a4)
Merge remote branch 'upstream/master'