Added login test and basic infrastructure