Added tests for basic and digest auth