Fix access token endpoint bug

When using `add_query_arg()`, the name and value will be added on to the current URL, if the third argument is not provided.