A historic London pub dating back to the 18th century is coming back to life after being closed for years.