WIP: Store credentials only in session if required

:warning: WIP DO NOT MERGE :warning:
If this is only used mostly for crypto, how about just moving this to the Crypto class ?