Redirect after session expiry to the previous loaded page

* fixes #6945 

This fixes the most annoying thing I noticed on my own production instance.

cc @owncloud/designers @Raydiation @PVince81 @cosenal