Fixed bug with recognizing 401 packets as auth failures