Use correct version when linking to Spring and Spring Security docs

Closes gh-1621