Change /applications to /authorizations #313

Code cleanup