You no longer type in licenses in GMS 2. Licenses are now tied to your YoYo account and license authentication works by logging into the IDE using that account.
GameMaker Studio 1.x licenses can not be used with GameMaker Studio 2 in any way.
Have you verified whether the trial license is listed on the Products page yet?
If it's listed and active, you should be able to log in normally. If you can't, please contact support.
If it's listed but states that it's expired, since you presumably already had an account at that time, chances are your trial period started when the trial period was first introduced and has already ended without you ever using it. If you deem this to be the case, contact support to see if they can offer a suitable solution.
If it's not listed at all, something went wrong. You guessed it... contact support.
You can reach the helpdesk via the
contact form.