Gate the expiry selection of the server component.

This is to prevent empty string coming back and generating
an exception for bad date format.