I need a script to login at Xbox.com.
Even though the script will just be used for testing purposes it's important that the script is coded to authenticate itself (re-login) only when needed and not upon every request.
To show that the script works, use (preferably cURL) to retreive this page: [url removed, login to view]
Example of login box (you can also register a free account here for testing):
[url removed, login to view]