sets up invitation functionality, mailgun in production environment and
creates an integration test for resetting password