added test cases to the authdetails app