Fix weird instance where $decoded_response was actually a string. Might solve a lot of peoples issues in the forums where they can't authenticate