Fix unit test

Must pass in credentials for unit tests.