Update login example to match new auth structure.