Added period '.' to regexp. this fixed non parsing of auth header. Quick Fix.