added some more tests added basic auth module code cleaning