Upgraded integration tests to work with authentication