Passing optional data to credential function.

We found it's sometimes necessary to pull extra information from the request object for the credentialsFunc. This enables a field that can optionally contain that (or any) information.