This script has been designed to work without problems on a freshly installed Raspbian Wheezy system.
Usage : fortilogin.py me@company.com [superduperpassword]
The password is optional. If you launch the script with only the username specified, it will ask for a password in a hidden prompt