Use docurl function for RDAUTH support in api test