Updating fetch to check if Reddit returned an error on a 200.
Changing session and modhash variable scope
test: Moving login method in test