ticket:5 Write tests for 'Log in' page