[MODIFY] fixup for onAuthenticated
[MODIFY] change error messages for 401 response