request GPG password only when connected to server, before sending presence. fixes #3483, #3375, #3115