credentialstore: service to store login info
credentialstore: add tests