server answers differently depending if request comes from openpetra fatclient or from webbrowser
related to #8