makes get-access-token-from-params coding style more consistent with other library functions