Integration testing authentication