Fix for 404 occuring when signing out during the creation of, for example, a new Document.  This patch makes sure that the request.path is not altered when requesting the create page (alteration of which caused the 404). This also results in the seeds now being remembered when being forced to log in. The editPost method now correctly switches to the edit path after a successful edit.
Fix for 404 occuring when signing out during the creation of, for example,
a new Document.  This patch makes sure that the request.path is not altered
when requesting the create page (alteration of which caused the 404). This
also results in the seeds now being remembered when being forced to log in.
The editPost method now correctly switches to the edit path after a
successful edit.

Patch by: Lennard de Rijk

--HG--
extra : convert_revision : svn%3A32761e7d-7263-4528-b7be-7235b26367ec/trunk%401120

rhyolight/nupic.son,rhyolight/nupic.son,rhyolight/nupic.son