Test: fix name of test and remove duplicate test
Style: fix flake8
Test: add user login view tests
Test: Fix template used asserts