Made pre-login on receiving app_request redirect
Fixed token not saving properly
User is re-logged every time when apprequest is accepted
Merge pull request #17 from thePooh/master

Application Requests auto-login support