Try to use clear text for the login and pasword.
If this works, then probably roundcube and your smtp server are not talking the same crypto language.
see parameter:
// SMTP AUTH type (DIGEST-MD5, CRAM-MD5, LOGIN, PLAIN or empty to use
// best server supported one)
$rcmail_config['smtp_auth_type'] = '';