than then searching for a default realm. Fixes PR lib/11010 from David Brownlee. Patch from Jason Thorpe.