[skip ci] Added clearing of user id in AuthService.