A long-overlooked painting once relegated to storage has been identified as a genuine Bernini and is set to go on display at the Kunsthistorisches Museum.