Test: updated session timeout unit tests

Unit tests updated to work with new modal dialog.
Test: moved test resources to `</body>`

Test resources needed to move to after `<script src="jquery.min.js">`.
Merge pull request #3245 from patheard/session-timeout-unit

Updated session timeout unit tests