"'redirect_uri' could not be validated" error attempting to get OAuth authentication code