[libmapi++] Fix segfault when login() fails.

A failed login calls uninitialize(), but so does the destructor.  A double-free causes a segfault, so always be sure to set freed pointers to 0.