fix gatekeeper response headers behavior

removes @wsgify decorator
changes code to a more traditional way of messing with response headers

Change-Id: I13ce7f98bae48eb0b990a64aa6f3d63ff8d13bf5
Closes-Bug: 1285392
Merge "fix gatekeeper response headers behavior"