client_credentials grant type added with test support