TDD for the credentials