Correctly return `500 Internal Server Error`.

Alive health check page was not consistent with normal health check,
returning `417 Expectation Failed` instead of 500.
Make setting `BOD_ENCRYPTION_PASSWORD` optional.