There are instances happened when a newly setup DirectAdmin server, you get Authentication Failed or Login Failed error while login to the Webmail.
In that case, please follow below steps:
cd /usr/local/directadmin/custombuild
./build update
./build set roundcube yes
./build roundcube
./build dovecot
This will fix the Authentication issue of the Email account.