fixed regression in upgrade to Laravel 4.1 that broke OAuth authentication procedure