Note about reanimating user object if logged in via cookie.
Added filtering mechanism based on X-Auth-Token header.
Switched to new token-based authentication from front-controller.
Fighting the problem that redirect after logout is not going to login page but product list.
Setting the window location works on logout.
cleaned up unused functionality, only used for experimenting.
Merge pull request #1 from nikos/feature/token-based-auth

Add feature to use token based authentication