separate AuthFailError subtype for more application control
added authUser/authPswd to example program