don't send password/dbid when None.