Added check for base64 encoded password string. If string is not base64

encoded, then skip the decoding operation.