973630 - redirect to https only if the path begins with '/katello'

Otherwise, also paths with '/katello' inside were redirected to https, which
caused problems with provisioning.