40x pages will now return specific code

When displaying 40x pages, the server will return specific status codes
instead of 200 OK.