More flake8 cleanup in test_web*

Mostly encoding or line length