Fix bad format string
DeviseAuth should return a zero user on errors
Remove duplication of auth code in isPublic.
Add rails cookie config to main application

In addition to command line options, add in support for a config
file since a lot of the settings are bulky for the command line.