Fix for AzureAD#177

The old regular expressions used to validate and extract the Bearer content of the 401 response cannot handle cases where there are no double quotes around the values of the key-value pairs. The new expressions can handle doubly-quoted, singly-quoted, and non-quoted values. In addition, the content is also checked for balanced quotes, thus values like "https://contoso.com' will not pass the check