Added invite, user creation, and oauth host context support

@simonlamprell Nothing was being done with that parameter it in the constructor.