You can now register another hook to send content to the client when authentication fails (status code 401 is sent).
Registering the login check handler is now unified with the no_auth handler, the old way of registering the login check handler still works but emits a warning.
Also changed the author name, please forget the old one.