The lawsuit highlights a friction that exists at financial-services firms that put employees into their own product.