Separate Imap auth, Memory store and Authentication classes