Improve init tests and code.
Build tests for credentials input. Return inquirer prompt for tests.