WIP: Add control loop to Activity e2e to run as test user and test manager

Also fixed EOL of activity e2e script