added check for Base64 encoding of password