A set of helpers for securing a Rails or Rack API using the G5 auth service