Constantify the parameters of g_imap_login() function.

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