imap-login segfaults when using post-login