Add fix for authentication with Windows phone 8.1