Fix bug in example code; failed logins are indicated with "refused" not "false".
A touch more documentation.