Fixed problem with refreshing secured pages, closes #65
After automatic redirect to login page, when user successfuly logs in, user is redirected to original page.