allow overwriting input document
allow overwriting input document and return 200 and login screen instead 401