Now passes other bits required for the oAuth server

The setup that I have on my API requires me to pass some extra details, as well as a custom grant_type.
This PR lets you set the extra bits - might be helpful for others.