Fixed the python sdk to ask for validation code on first login