Stewart Downing's superb strike sent Middlesbrough through to the FA Cup fifth round with victory over League Two strugglers Accrington Stanley.