authorizer: Fix inverted test
Fall back to arch/emulator if arch/domain/emulator is missing
Fix cookie processing with requests < 0.12.0