fix for running without authentication; fix for bad edit route

When running without any authentication, the new authen code was
nevertheless attempting to do some things assuming you had the authentication
package installed.  Died with a cryptice error message about ->code().

When the authentication was added, it tried to create a 'foo/edit:id' route
rather than 'foo/edit/:id'.
Merge pull request #27 from msouth/master

Fix for a couple of bugs in the new auth code