Sync api-paste with Juno

Juno uses keystonemiddleware meanwhile.