roo: Fix several ReferenceErrors and typos

This patch fixes some typos which case the application to crash in
nonrecoverable ways:

  - a missing `var` for the `production` flag (nonfatal, but w/e)
  - a ReferenceError in `.auth()`
  - a ReferenceError in `.mount()`