WIP: Store credentials only in session if required

:warning: WIP DO NOT MERGE :warning:
Here's the moon symbol for you :u6708: