Fixed redirect URI issue on OAuth.