update docs

clean up the object literal example for application.authenticateApiRequest