Fixes NullPointerException for previously stored google contacts accounts (reported by Emil Ivov). Requires TLS for XMPP connection. If server does not support TLS, the GUI will show message telling user to tick a checkbox in the account configuration that will allow non-secure connection to XMPP server (disabled by default).