(#17901) Fix failing tests

I've extracted fixes for failing specs into a separate branch. I also updated master in this fork so this pull request should be fine for current puppetlabs/puppet-dashboard master.

Since we are now skipping the performance optimization, I had to make a few more rollbacks to the spec code to make it compatible with OpenStructs again.