Bug: Set needs_auth to false when no key is given