Modifying auth to support factual API