Test for redirect to login page when acessing private page while unauthenticated.