fixed 401 handling and made trailing slash optional.
more info
Merge branch 'master' of https://github.com/28msec/secxbrl.info into fix-statechange-401
Merge branch 'master' of https://github.com/28msec/secxbrl.info into fix-statechange-401
Merge branch 'master' of https://github.com/28msec/secxbrl.info into fix-statechange-401
removed trailing slashes, but still allowing them.
fixed auth scenario.
fixed auth scenario.
Merge branch 'master' of https://github.com/28msec/secxbrl.info into fix-statechange-401
Merge branch 'master' into fix-statechange-401
Merge pull request #417 from 28msec/fix-statechange-401

fixed 401 handling and made trailing slash optional.