Be less strict in api_key test

Looks like the change of time format confuses tests, getting rid of T som it
would match against other date format as well.