With latest pull session.py fails with below error with python3 because in python3 strings 'lowercase' method has been renamed to 'ascii_lowercase', PFA patch to fix the issue.
Issue:
----------
File "../pgadmin4/web/pgadmin/utils/session.py", line 59, in sign