Move encryption settings from LoginJob to Session
This does not change any of the logic to apply encryption yet, ie. that is still tied to LoginJob. This however now enables moving that logic step by step to Session and thus enable encryption independent of a login being required.