An authentication scheme for rails API's.