Unit test invalid credential login