Quote the strings passed to LOGIN command.

IMAP specification requires that username and password are quoted.

The function imap_quote_string was copied from mutt's source code.

Signed-off-by: Thiago Farina <tfarina@chromium.org>