Added better login message for 401, fixes #180.