Normalizes pg and geoserver user/pass