Should add a comment here and in the docstring about why we have to do this (TG1 expects to only send username and password to this function)