Modify inappropriate regular expression for parsing the WWW-Authenticate

fixed a bug that does not work in cases where key that contains a space.
(ex. 'realm="XX-Auth (LDAP)", Basic realm="XX-Auth (LDAP)"')