fixes #113 - 401 now redirects back to the previous location after login
Merge pull request #115 from 3emad/enhancements/0.1/previous-path-location

fixes #113 - 401 now redirects back to the previous location after login