Added a fallback to an empty dict of no auth argument is passed to prevent errors.