Domain should be null for dev and testing.