Replace apsws.user with apsws.id
Fixed header authentication