tolerate html in error responses
add setup for application parameters