more login view tests, handle logout redirects correctly