Deal with redirects when no login, add tests for user logins and sessions