Domain authentication decorators, tests