Fixed a crash when malformed base64 data was passed during DAV plain auth.