Properly set format for set command passwords.