added basic authentication tests
added tests