Trying to authenticate laravel api but always getting error