Fixed auth notices and warnings