Regression for #1810: Test login view renders
Comform to flake8
Merge pull request #1816 from carltongibson/regression-login-template

Regression for #1810: Test login view renders