fixes mysql password issue, fixes wrong ssl handling