Fixed a bug where the old token still logged users in.