Adding password and confrmation fields and tests for #4.