add functions to middleware for cross-sit authentication (#138)
* add functions to middleware for cross-sit authentication
* use constants for cross site auth route names
authored by
awarm.space
and committed by