#494 added 401->404 enforcement via config.

Resolves #494