As a user I'd like to be redirected to main page when I enter valid user...

...name and password.

Tests for login success and fail