fixed authenticate/authorizeUrl support
Merge branch 'refreshtoken-support'