Parse time from IdP so it doesn't fail when passed a string instead of an integer