refactor session tests

Signed-off-by: Sergei Ianovich <ynvich@gmail.com>
friendly redirects after sign in (closes #15)

Signed-off-by: Sergei Ianovich <ynvich@gmail.com>