tests: Added SMTP with credientials test when not supported by server
smtp: Fixed login denied with a RFC-821 based server

In addition to commit fe260b75e7 fixed the same issue for RFC-821 based
SMTP servers and allow the credientials to be given to curl even though
they are not used with the server.