Added generate_sid()
Removed quote and unquote functions
Renamed check_login to is_login
Added decorated functions login_required and admin_required
Moved login and logout to the base TaoblogTestCase class