Add connect method to discovery command.

22 jobs for !2441 with fix-avs-connect-mongo-on-command in 17 minutes and 19 seconds (queued for 2 seconds)
merge request