Improve web app authentication to unsecure dynamic context paths and further improve app management APIs