Made error handler send a 500 status to prevent 404.
Added mflacProtect-Tests.