Don't add password option if password is empty