test: abstract authentication for e2e tests into helper file
- abstract out element of e2e test which logs the user in, into a separate helper file, so that it can be reused across multiple e2e paths
- add "no param reassign" eslint rule to
test
folder so that we can reassign the context parameter here