These 6 lines are repeated in each test, move them into a setup_login method and the tests will become clearer.