Fixing secure url issues.