Fixes auth failure on WP8.1