Fixes pathing issue when running guard.
Resolves authorization test failure.
Modifies authorization code
Gets published/unpublished tests to pass.