Before anything else, I've already tried using RAW mode and recorded my steps using the new script function. I also tried using the scripts already available here for the 2.1 version of this router and it still doesn't work. The weird thing is that it says that reconnect is successful when recording but it doesn't work once I try to test it after the script has been recorded.

Most likely caused by input data in a form request been dynamic
record one script, copy paste into notepad++, record second script and copy paste into notepad++. use the compare function to see the differences. try and navigate in the same manner. Differences in the required requests are most likely dynamic, and you will need to alter the script to look for that component and include it in the request.