If authentication is not enabled for smtp, don't place it in the config.
Some users use smtp servers which require no authentication so setting this options is not necessary for them.
Fixes #1221 (closed)
Fixes #1201 (closed)
Edited by GitLab Release Tools Bot