Modify signin input to store api token in session storage.