Initial cut at card id login api
Requires a default hash flag
Whitespace fixes