Update secure_url to match protocol of current page. Bug 901523.