made changes to decrypt(), array based cookies now usable

Made changes to decrypt(), can now use array based cookies, as in MyBB.

This function was at /vendor/laravel/framework/src/Illuminate/Cookie/Guard.php 

Please review the code 4 times before merging.

I have also made a issue for this. #3192