Improve session handling in test
Improve session handling in test

Also, actually log in.

TeamCheesy/rgsoc-teams,TeamCheesy/rgsoc-teams,rails-girls-summer-of-code/rgsoc-teams,michaelem/rgsoc-teams,michaelem/rgsoc-teams,beanieboi/rgsoc-teams,beanieboi/rgsoc-teams,beanieboi/rgsoc-teams,rails-girls-summer-of-code/rgsoc-teams,rails-girls-summer-of-code/rgsoc-teams,TeamCheesy/rgsoc-teams,michaelem/rgsoc-teams