ClientFactory can now handle some common authentication stuff.