Handling of 'next' url for redirection after successful login
If the wrong token is passed, handle the session KeyError. Remove unnecessary quoting.
Merge pull request #1 from CristianCantoro/master

Handling of 'next' url for redirection after successful login