Fixed auth issues