added test for basic auth + cleaned up incorrect test