With useParametersForClientAuthentication set to 'false' the oauth2Template returns 401 when calling authenticateClient().getAccessToken()