save post in query string when logging in

Noticed this when playing around with the bookmarklet. Saves the session and restores it after logging in.

Had a bit of trouble with Grunt, so might be worth re-running it with your config.