Fix: set proper status text when it is received as header

See https://jira.ez.no/browse/EZP-23162 for a description of the problem