Test password setting