ProcessPassword refactor.