Fixed constructor to correctly cache when an auth token is passed (#32)