[mms] Add configuration to allow for SMTP authentication if the current Horde access does not have an authenticated user.

This is needed, e.g., for IMP linked attachment view notification messages,
since these messages are sent from attachment.php - which is an
unauthenticated script.