Added remembering of last transition when redirected to login.
Merge remote-tracking branch 'origin/master'