fixed incorrect URL, corrected example code syntax

Changes:
1. Changed the URL of dropwizard-auth to correct one
2. Changed environment method names to reflect changes in the newer dropwizard auth
3. Added additional notes to register resource to envirionment