added test for invalid credentials