TB-3552 - mailimap_oauth2.c line 162 [Crashlytics #1041, #1055]

Add NULL checks for the server, username, and password, after the
UTF-8 conversion.  This will avoid crashing if we get empty or
invalid values for these fields.  It doesn't explain why we're getting
this though.