Support for a custom response if authentication fails