This could indicate an issue with your browser settings. Please check these to ensure that they are not configured to clear your cookies/ caches when exiting the browser.
Make sure that you have ticked the 'Remember this device' option when first entering the One Time Passcode into the Defence Gateway login page.
