Add tests for situations where we force basic authentication