auth: proper fixup for optional method parameter in pv_www_authenticate()

- reported by Muhammad Shahzad