Handle None passwords in mysql connect

Closes #15195