Fixed expires_in bug (is in seconds, not ms)