Fix :static-dir usage

The :static-dir key is under the :opts key in the session.