fixed some auth errors

Change-Id: Ic49b0cb49cd3926f1be323d32e8e8ddd43a0e0b8