resolve CLI-97 - cookie issue when register app