refreshSession sometimes doesn't call any callback

In phonegap (android) in some cases teh hasRefreshToken returns false,
and then no Cb are executed breaking the flow of the app.

plus a minor fix :)