fix an order mistake in DS handling HTTP requests
Merge pull request #3237 from birarda/domain-server-auth

@birarda is dumb, fix an order mistake