diff --git a/auth_test.go b/auth_test.go
index 911b4f7456d0414d46e9bbbd603bd4c343154dfc..630b5db0c699a0af0a09b7ce0b9b740bd7245f49 100644
--- a/auth_test.go
+++ b/auth_test.go
@@ -6,6 +6,7 @@ import (
 )
 
 func TestUpdateAllowedFromIP(t *testing.T) {
+	Config.API.UseHeader = false
 	userWithAllow := newACMETxt()
 	userWithAllow.AllowFrom = cidrslice{"192.168.1.2/32", "[::1]/128"}
 	userWithoutAllow := newACMETxt()