Missing token param in getAccessTokenData() doesn't return an appropriate error response

It seems that the `if (!$token_param) {` check was duplicated, and the first one doesn't set an error response, just returns NULL.

I've removed the first check, so that the second one returns the appropriate response.