Refactor sudo into not requiring response object and all login() elevates perms