Improve credentials sanitization on repository mirror integration See merge request gitlab/gitlabhq!3076