Added authenticating integration tests. Also added globals for integration tests.