Site off login fixed, closes #928, refs #606.

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #928
| Referenced tickets | #606
| License       | MIT