fixing issues with Watir + configuration (csrf)