Code

Fixed the logic for determing the cookie path. (Closes #562130.)