fix missing footer buttons

if user is sometimes request.couch_user instead of request.user, then is_authenticated is not an attr
http://manage.dimagi.com/default.asp?144692#806113