[ticket/13316] Ensure Recaptcha image uses https when necessary.

PHPBB3-13316
Merge pull request #3156 from prototech/ticket/13316

[ticket/13316] Ensure Recaptcha image uses https when necessary.