Fixed unathorize steps for tests