The beauty company scored on sales, but its profit came in below forecasts.