patched according to discussion in issue 302 - creating user on imap login