adapts client auth (xAuth) to the new structure