If auth fails, include the error element in AuthenticationFailure.
Support authentication schemes that require post-success validation. Fixes authentication failures with the SCRAM-SHA1 mechanism, reported by Gergely Risko.
Clean up Cabal file. Bump package version to 0.4.1.