REVIEW: Switch to security 3.1-SNAPSHOT

Switch Nexus to use security 3.1-SNAPSHOT to pickup the recently introduced thread-safety improvements.

Other than updating the pom, the other changes were required to conform to the updated interface of ConfigurationManager, introduced in security 3.1-SNAPSHOT