tests: use %LOGDIR to refer to the log directory This will allow it be set dynamically. Ref: #10818
mqtt: add support for username and password Minor-edits-by: Daniel Stenberg Added test 2200 to 2205 Closes #7243