Restrict access to team pages
Ensure mongo uses test environment