Add: test to addGrantType method

Test if the key to get the grant type from the server is the query string identifier