added test for failing login