API authentication provider for Laravel 4