Moved the validation of CID/Pass combo into its own function, for use elsewhere.
Moved the validation of CID/Pass combo into its own function, for use elsewhere.

atoff/core,enlim/core,atoff/core,enlim/core,enlim/core