Updated config validation for username/password

to check if the protocol was File://