fixed authenticate/authorizeUrl support