Update lib/imap.js

Undefined usernames are set to empty string - will never be undefined