Meta server: move delegation handling in the client state machine after validation of authenticated user id and setting user and group ids, to correctly handle the case where the user id is no longer valid due to user and group configuration change.