add test for overwriting default status code
add test for overwriting default WWW-Authenticate header
allow to overwrite defaults