Add getFactory method to OfflineAuth