Updated client to reuse auth cookie