Adds functional test of authorize controller, and make use of uri standard