Adjust web layer design for basic http authentication handling