Authenticatable REST API based on the rails-api gem