refactor(app): Remove an extra function parameter

Change the parameters passed into the signToken function. This change is
trivial and tidies up the code.

No breaking change. Fixes issue #382