Redirect to login when loading /team/:id and user is not logged in
Fix redirect on teams page