WIP: Store credentials only in session if required

:warning: WIP DO NOT MERGE :warning:
You could set it to true.