[#57] AuthenticationError instead of StandardError