Feature/login in development

Until now, in development, the user was logged in by default. With this change, even in development, the user still has to log in to the system in order to see the edit mode.

This has some advantages, like quickly previewing a given page / workspace in live mode, and enforcing the developer to see the page the live mode, which wasn't possible until now.

The important change is the workspace switching logic, which allows in development to switch the workspace (which is not possible, for security reasons, in production).