An authenticating reverse proxy for writing simpler apps