Merge pull request #858 from nextcloud/stable10-when-logged-in-then-just-redirect-to-redirected-page [stable10] when logged in then just redirect to redirected page