tests: Refactor auth_log SMB connection to be in a single place