api: added missing import

refs #16017
category: corrected mispelling

refs #16017
util: added before_request method to setup a db session

refs #16017