remove a warning on redefining constants
fix a regression - the auth token was sent as an argument if the hash of params is indexed by string