Add password setting functionality.