Added a couple of checkNotNulls to the Sitemap
Added authentication failure test
Closes #221