[RedirectLoginHelper] Remove code duplication and fix access token expires
Merge pull request #152 from yguedidi/redirect-login-duplication

[RedirectLoginHelper] Remove code duplication