I am trying to create a functional test for a project which a user does not need to login before accessing some urls. I did this by creating a pre-authenticated session to trick the site into thinking that the test user is already logged in.I am trying to create a functional test for a p