More robust destination redir after login, fixes #24
Merge pull request #1 from claudioc/master

More robust destination redir after login, fixes #24