Fix - getLoginStatusUrl now using OAuth2

It gave the following error when getLoginStatusUrl is called.
"Please migrate to OAuth2 and use the new /dialog/oauth endpoint.
extern/login_status.php is no longer available"