anchor.diff:      end),
   
       ?assertEqual(ok, oz_endpoint:auth_request(
  -        {user, {?MACAROON, ?DISCH_MACAROONS}}, "URN", mthd, body, [opts])),
  -    ?assertEqual(ok, oz_endpoint:noauth_request(
  -        {user, {?MACAROON, ?DISCH_MACAROONS}}, "URN", mthd, body, [opts])),
  -    ?assertEqual(ok, oz_endpoint:auth_request(
  -        {try_user, {?MACAROON, ?DISCH_MACAROONS}}, "URN", mthd, body, [opts])),
  -    ?assertEqual(ok, oz_endpoint:noauth_request(
  -        {try_user, {?MACAROON, ?DISCH_MACAROONS}}, "URN", mthd, body, [opts])),
  +        {user, {?MACAROON, ?DISCH_MACAROONS}}, "/URN", mthd, body, [opts])),
  +    ?assertEqual(ok, oz_endpoint:noauth_request(
  +        {user, {?MACAROON, ?DISCH_MACAROONS}}, "/URN", mthd, body, [opts])),
  +    ?assertEqual(ok, oz_endpoint:auth_request(
  +        {try_user, {?MACAROON, ?DISCH_MACAROONS}}, "/URN", mthd, body, [opts])),
  +    ?assertEqual(ok, oz_endpoint:noauth_request(
  +        {try_user, {?MACAROON, ?DISCH_MACAROONS}}, "/URN", mthd, body, [opts])),
   
       ?assert(meck:validate(http_client)),
       ok = meck:unload(http_client).
  
positive.code:     end),
  
      ?assertEqual(ok, oz_endpoint:auth_request(
          provider, "URN", method, body)),
      ?assertEqual(ok, oz_endpoint:noauth_request(
          provider, "URN", method, body)),
      ?assertEqual(ok, oz_endpoint:auth_request(
          {try_user, undefined}, "URN", method, body)),
      ?assertEqual(ok, oz_endpoint:noauth_request(
          {try_user, undefined}, "URN", method, body)),
  
      ?assert(meck:validate(http_client)),
      ok = meck:unload(http_client).
  
negative.code:     end),
  
      ?assertEqual(ok, oz_endpoint:auth_request(
          {user, {?MACAROON, ?DISCH_MACAROONS}}, "/URN", method)),
      ?assertEqual(ok, oz_endpoint:noauth_request(
          {user, {?MACAROON, ?DISCH_MACAROONS}}, "/URN", method)),
      ?assertEqual(ok, oz_endpoint:auth_request(
          {try_user, {?MACAROON, ?DISCH_MACAROONS}}, "/URN", method)),
      ?assertEqual(ok, oz_endpoint:noauth_request(
          {try_user, {?MACAROON, ?DISCH_MACAROONS}}, "/URN", method)),
  
      ?assert(meck:validate(http_client)),
      ok = meck:unload(http_client).
  