Makes QSD does not exist 404 properly.

In the past, the "this page does not exist, would you like to create
it?" page for admins was returning as 200, meaning that if there was a
redirect away from a (nonexistent) QSD page, but you had the ability to
create it, the redirect would be ignored.  Now it will 404, still
returning the same message, so that the redirect middleware can catch
the 404 and return the redirect.
Merge branch 'main' into qsd-redirect-fix
Adds tests for QSD status codes.

In particular, adds tests as a logged in user, both admin and non-admin.
Merge pull request #1004 from learning-unlimited/qsd-redirect-fix

Makes QSD does not exist 404 properly.
Fixes typo
Merge branch 'main' into mit-prod