adaptation for using with Flash
increase login timeout to 10 seconds
fix debug.html